package com.atguigu.dga.thread;

public class ThreadDemo1 {
    public static void main(String[] args) throws InterruptedException {
        long start = System.currentTimeMillis();

        for (int i = 0; i < 10; i++) {
            //耗时操作
            Thread.sleep(3000);
            System.out.println(i + "表已经考核完毕！");
        }

        long end = System.currentTimeMillis();
        System.out.println("耗时:" + (end -start));
    }
}
